
#include "parser.h"

void Parser::init() {
    db = DataBaseManager::getInstance();
    db->exec("DROP TABLE Estacao");
}

Parser::~Parser(){

}


void Parser::setFile(QString file_name){
    f = new QFile(file_name);
}

QList<Sensor *> Parser::getSensors(){
    return sensores;
}
